﻿using Eqwww.Domain.Models.Identity;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Eqwww.Web.Areas.SystemManage.Models.User
{
    public class IndexViewModel
    {
        public string Id { get; set; }
        
        [Display(Name = "创建时间")]
        public DateTime? CreateTime { get; set; }
        [Display(Name = "用户名")]
        public string UserName { get; set; }

        [Display(Name = "头像")]
        public string Avatar { get; set; }
        [Display(Name = "姓名")]
        public string RealName { get; set; }
        [Display(Name = "禁用标识")]
        public bool? IsDisabled { get; set; }

        [Display(Name = "系统用户标识")]
        public bool? IsSystem { get; set; }
        [Display(Name = "排序码")]
        public int? SortCode { get; set; }

        [Display(Name = "账号类型")]
        public UserType? UserType { get; set; }
        [Display(Name = "添加类型")]
        public AddType? AddType { get; set; }
        [Display(Name = "邮箱确认")]
        public bool EmailConfirmed { get; set; }

    }
}
